package com.mt.roll.wms.service;

import com.mt.roll.core.params.IdParam;
import com.mt.roll.core.vo.IdVo;
import com.mt.roll.core.vo.PageVo;
import com.mt.roll.core.vo.R;
import com.mt.roll.wms.params.AreaParam;
import com.mt.roll.wms.params.AreaQueryParam;
import com.mt.roll.wms.vo.AreaVo;
import com.mt.roll.wms.vo.LocationVo;

/**
 * @auther yanyang
 * @date 2021/10/15 10:15
 */

public interface AreaService {
    
    R<PageVo<AreaVo>> area(AreaQueryParam areaQueryParam);
    R<AreaVo> areaById(IdParam idParam);
    R<IdVo> add(AreaParam areaParam);
    R<IdVo> update(AreaParam areaParam);
    R<IdVo> delete(IdParam idParam);

    R<String> getCode();
    
}
